#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Desc: unittest

import unittest


def _sort(arr):
    l = len(arr)
    for i in range(0, l):
        for j in range(i + 1, l):
            if arr[i] >= arr[j]:
                tmp = arr[i]
                arr[i] = arr[j]
                arr[j] = tmp
    return arr

class TestSort(unittest.TestCase):
    
    def test_sort(self):
        l = [3, 0, 100, 10]
        _sort(l)
        print(l)
        self.assertEqual(l, [0, 3, 10, 100])

if __name__ == '__main__':
    unittest.main()
    
            
